﻿<Window x:Class="BrowseDevice"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Device Folder Browser" Height="300" Width="300">
    <Grid>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="*" ></RowDefinition>
            <RowDefinition Height="auto" ></RowDefinition>            
        </Grid.RowDefinitions>
        <Grid Grid.Row="0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"></ColumnDefinition>
                <ColumnDefinition Width="auto" MinWidth="100"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TreeView Name="treeviewDirectories" Grid.Column="0" >
                <TreeViewItem Name="treeviewItemDirectory" Header="Root"></TreeViewItem>
            </TreeView>
            <ListBox Grid.Column="2" Name="listboxFolderFiles" Margin="10,0,10,0"></ListBox>
        </Grid>
        <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="5" HorizontalAlignment="Center">
            <Button Name="btnOk" Width="100" Margin="5">Ok</Button>
            <Button Name="btnCancel" Width="100" Margin="5">Cancel</Button>
        </StackPanel>
    </Grid>
</Window>
